package cc.lj.internal.merchant.interfaces.dto.convert;

import cc.lj.internal.api.merchant.dto.PropertyRelatonApiDTO;
import cc.lj.internal.api.merchant.query.PropertyRelationApiQuery;
import cc.lj.internal.merchant.domain.contract.model.vo.PropertyRelationDO;
import cc.lj.internal.merchant.interfaces.dto.query.PropertyRelationQuery;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface PropertyRelatioonDTOConvertDO {
    PropertyRelatioonDTOConvertDO INSTANCE = Mappers.getMapper(PropertyRelatioonDTOConvertDO.class);

    //query to do
    PropertyRelationDO convert(PropertyRelationApiQuery propertyRelationQuery);

    //apidto to do
    PropertyRelatonApiDTO convert(PropertyRelationDO t);
}
